﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Forums.aspx.cs" Inherits="Forums" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>

<asp:Content ID="Conent2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Forums</h2>

    <p> 
        Discuss ideas.  Users may create a new forum on any topic of choosing.
        Each forum may have different guidelines, but no flaming
        or posting inappropriate content.
    </p>
    <p>
        Click the 'Create Forum' link to create a new forum.  
    <p/>
    <p>
        Below the 'User Forum' heading contains a list of
        current forums.
    </p>

    <ul>
        <!-- <li> <a href="GeneralForum.aspx">General Forum</a> </li> -->
        <li> <a href="CreationForum.aspx">Create a Forum</a></li> 
    </ul>

    <h2>User Forums</h2>
     <div>
        <p runat="server" id="ListOfForums"></p>
    </div>

    <br />
    <asp:Repeater ID="LinkRepeater" runat="server" 
        onitemcommand="LinkRepeater_ItemCommand">
        <ItemTemplate>
            <!-- <asp:HyperLink runat='server' CommandText='click' Text='<%# Container.DataItem.ToString() %>' /> -->
            <asp:LinkButton runat='server' ID='LinkButton' CommandText='click' CommandName='click' CommandArgument='<%# Container.DataItem.ToString() %>' Text='<%# Container.DataItem.ToString() %>' />
            <br />
        </ItemTemplate>
    </asp:Repeater>
    <br />
</asp:Content>


